/**
 * 
 */
package com.ubo.java.model.declaration;

import java.util.List;


import com.ubo.java.model.EModifier;
import com.ubo.java.model.IType;
import com.ubo.transform.java.IJavaGenerable;

/**
 * 
 * @author saludegu
 * 
 */
public abstract class ADeclaration implements IJavaGenerable {

	/**
	 * Nom de la variable.
	 */
	protected final String mName;

	/**
	 * Type de la variable.
	 */
	protected final IType mType;

	/**
	 * Modifier de la variable.
	 */
	protected final List<EModifier> mModifier;

	/**
	 * 
	 * Constructor
	 * 
	 * @param variableName
	 * @param type
	 * @param modifiers
	 * @param visibility
	 * @param value
	 */
	public ADeclaration(String name, IType type, List<EModifier> modifiers) {
		mName = name;
		mType = type;
		mModifier = modifiers;
	}

	/**
	 * @return the mName
	 */
	public String getName() {
		return mName;
	}

	/**
	 * @return the mType
	 */
	public IType getType() {
		return mType;
	}

	/**
	 * @return the mModifier
	 */
	public List<EModifier> getModifier() {
		return mModifier;
	}
}
